<?php
	require_once('auth.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<TITLE>Upload REDCAT File</TITLE>
<link href="style.css" rel="stylesheet" type="text/css" />
</HEAD>
<script type="text/javascript">
function newPopup(url) {
        popupWindow = window.open(
        url, 'popUpWindow', 'height=450,width=800,left=50,top=50,resizable=yes,scrollbars=yes,toolbar=no,menubar=no,location=no,directories=no,status=yes')
}
function newPopup2(url) {
        popupWindow = window.open(
        url,'popUpWindow','height=450,width=400,left=50,top=50,resizable=yes,scrollbars=yes,toolbar=no,menubar=no,location=no,directories=no,status=yes')
}
</script>
<BODY>
<center>
<img src="redcat_logo.jpg">
</center>
<div>
<a href="JavaScript:newPopup('account.php');" style="float:left">My Files</a>
<a href="logout.php" style="float:right">Logout</a>
</div><br />

<div>
<a href="JavaScript:newPopup2('help-menu.php');" style="float:left">Click here for help</a>
</div><br /><br />

<H3 align="center">Upload REDCAT data file:</H3>
<H3 align="center">
  <form action="/REDCAT/uploaded.php" method="POST" enctype="multipart/form-data">
  <input type="file" name="redcatfile" id="redcatfile">
  <input type="submit" name="Upload" value="Upload" />
</H3>
<center>
  <p>
   <input type="button" name="run" id="run" value="Run" onClick="alert('You must upload a REDCAT file in order to use this feature.')">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

  <input type="button" name="calcrdc" id="calcrdc" value="Calculate RDCs" onClick="alert('You must upload a REDCAT file in order to use this feature.')">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

  <input type="button" name="erroranalysis" id="erroranalysis" value="Error Analysis" onClick="alert('You must upload a REDCAT file in order to use this feature.')">
  </p>
</center>
</HTML>
